package com.lyncs.ods.resp;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Map;

/**
 * @author alex
 * @date 2022/2/5 21:26
 * @description
 */
@Data
@Accessors(chain = true)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class SpuInfoResp {

    @ApiModelProperty(value = "spu id")
    private Long spuId;

    @ApiModelProperty(value = "是否和当前登录企业关联")
    private Boolean related;

    @ApiModelProperty(value = "spu名称")
    private String name;

    @ApiModelProperty(value = "属性")
    Map<Long, String> skuAttrs;
}
